package com.ningxia.water.enums;

/**
 * @author huangzhen
 * @create 2021-05-20 17:31
 */
public enum WellStatusEnum {

    /**
     * code = 1001 = 机井正常运行
     */
    RUNNING(1001, "机井正常运行"),
    /**
     * code = 1002 = 机井未安装
     */
    UNINSTALLED(1002, "机井未安装"),
    /**
     * code = 1003 = 机井停用
     */
    DEACTUVATE(1003, "机井停用"),
    /**
     * code = 4444 = 机井故障
     */
    MALFUNCTION(4444, "机井故障");

    private final Integer code;
    private final String value;

    WellStatusEnum(Integer code, String value) {
        this.code = code;
        this.value = value;
    }

    public Integer getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }
}
